package com.exam.mysql;

import com.exam.entity.SysRoleMenuMap;
import com.exam.entity.SysRoleMenuMapExample;
import com.exam.entity.SysRoleMenuMapKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysRoleMenuMapDao {
    long countByExample(SysRoleMenuMapExample example);

    int deleteByExample(SysRoleMenuMapExample example);

    int deleteByPrimaryKey(SysRoleMenuMapKey key);

    int insert(SysRoleMenuMap record);

    int insertSelective(SysRoleMenuMap record);

    List<SysRoleMenuMap> selectByExample(SysRoleMenuMapExample example);

    SysRoleMenuMap selectByPrimaryKey(SysRoleMenuMapKey key);

    int updateByExampleSelective(@Param("record") SysRoleMenuMap record, @Param("example") SysRoleMenuMapExample example);

    int updateByExample(@Param("record") SysRoleMenuMap record, @Param("example") SysRoleMenuMapExample example);

    int updateByPrimaryKeySelective(SysRoleMenuMap record);

    int updateByPrimaryKey(SysRoleMenuMap record);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table sys_role_menu_map
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<SysRoleMenuMap> list);
}